package cate.game.role.friend.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBFriend;
import cate.game.role.Role;
import cate.game.role.friend.FriendGift;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "收到的礼物的数据 の 通知")
public class FriendGiftDataResp implements MsgOutput{

    @NoteField(value = "收到的好友赠礼列表")
    public FriendGift gift;

    public FriendGiftDataResp(){}

    public FriendGiftDataResp(Role master) {
        this.gift = master.getFriend().gift;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBFriend.GIFT_DATA_RESP;
    }
}
